#pragma once
#include "inc.h"

struct Atlas {
	string png, format, filter, repeat;
	int width = 0, height = 0;
	vector<Node> nodes;
};

bool read_atlas(std::ifstream& ifile, string& line, Atlas& atlas);

void read_atlas(std::ifstream& ifile, vector<Atlas>& atlas);

bool anti_atlas(const string& path, const Atlas& atlas, bool print);

bool anti_atlas(const string& path, const string& filename, bool print_nodes);